package com.wdcg.model.dao;

import com.j256.ormlite.dao.ForeignCollection;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.field.ForeignCollectionField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName= "Locale")
public class PlayerLocale {
	public static final String LOCALE_ID_COLUMN="localeID";
	public static final String LOCALE_NAME_COLUMN="localeName";
	
	@DatabaseField(id = true, columnName=LOCALE_ID_COLUMN)
	private Integer id;
	
	@DatabaseField(columnName=LOCALE_NAME_COLUMN)
	private String localeName;

	@ForeignCollectionField(eager=false)
	private ForeignCollection<DwarfDescription> dwarfsDescriptions;
	
	@ForeignCollectionField(eager=false)
	private ForeignCollection<BonusDescription> bonusesDescriptions;
	
	@ForeignCollectionField(eager=false)
	private ForeignCollection<BonusTypeDescription> bonusTypesDescriptions;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLocaleName() {
		return localeName;
	}

	public void setLocaleName(String localeName) {
		this.localeName = localeName;
	}

	public ForeignCollection<DwarfDescription> getDwarfsDescriptions() {
		return dwarfsDescriptions;
	}

	public void setDwarfsDescriptions(
			ForeignCollection<DwarfDescription> dwarfsDescriptions) {
		this.dwarfsDescriptions = dwarfsDescriptions;
	}

	public ForeignCollection<BonusDescription> getBonusesDescriptions() {
		return bonusesDescriptions;
	}

	public void setBonusesDescriptions(
			ForeignCollection<BonusDescription> bonusesDescriptions) {
		this.bonusesDescriptions = bonusesDescriptions;
	}

	public ForeignCollection<BonusTypeDescription> getBonusTypesDescriptions() {
		return bonusTypesDescriptions;
	}

	public void setBonusTypesDescriptions(
			ForeignCollection<BonusTypeDescription> bonusTypesDescriptions) {
		this.bonusTypesDescriptions = bonusTypesDescriptions;
	}

}
